package cn.iocoder.yudao.module.enterprise.controller.admin.company.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import cn.iocoder.yudao.module.enterprise.controller.admin.company.vo.CompanyBaseVO;

import javax.validation.constraints.NotNull;

@ApiModel("管理后台 - 企业信息更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CompanyAndUserUpdateReqVO extends CompanyUpdateReqVO {

    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "用户id不能为空")
    private Long id;
    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    /**
     * 手机
     */
    @ApiModelProperty(value = "手机", required = true)
    @NotNull(message = "手机不能为空")
    private String mobile;

}
